<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="taglib.jsp"%>
<div class="row">
	<div class="col-sm-6">
		<p style="margin: 20px 0;">当前页${pageInfo.currentPage }/共${pageInfo.totalPage }页，共${pageInfo.totalRow }条记录</p>
	</div>
	<div class="col-sm-6">
		<ul class="pagination pull-right">
			<c:if test="${pageInfo.hasPrevPage }">
				<li class="paginate_button page_index"><a href="#"
					data-index="${pageInfo.prevPage }">上一页</a></li>
			</c:if>
			<c:if test="${pageInfo.hasPrevPage !=true }">
				<li class="paginate_button disabled"><a href="javascript:;">上一页</a></li>
			</c:if>
			<c:forEach items="${pageInfo.groupPage }" var="pg">
				<c:if test="${pg == pageInfo.currentPage }">
					<li class="paginate_button active"><a href="javascript:;">${pg }</a></li>
				</c:if>
				<c:if test="${pg != pageInfo.currentPage }">
					<li class="paginate_button page_index"><a href="#"
						data-index="${pg }">${pg }</a></li>
				</c:if>
			</c:forEach>

			<c:if test="${pageInfo.hasNextPage }">
				<li class="paginate_button page_index"><a href="#"
					data-index="${pageInfo.nextPage }">下一页</a></li>
			</c:if>
			<c:if test="${pageInfo.hasNextPage !=true }">
				<li class="paginate_button disabled"><a href="javascript:;">下一页</a></li>
			</c:if>
		</ul>

	</div>
</div>